#!/usr/bin/env python
# encoding: utf-8
'''
@author: 王震
@license: 四川凡狼科技有限公司
@contact: 2668985108@qq.com
@file: check.py
@time: 2021/10/1 9:59 上午
@desc:
'''

from app.msg.resp import response_json


def verification_method(request_method, method):
    if request_method != method:
        return response_json(data=1, msg='The request method only supports %s method' % method)
